package cn.ds.assets.module.assets.convert.dataQualityRule;

import java.util.*;

import cn.ds.assets.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ds.assets.module.assets.controller.admin.dataQualityRule.vo.*;
import cn.ds.assets.module.assets.dal.dataobject.dataQualityRule.BaseDataQualityRuleDO;

/**
 * 数据质量规则 Convert
 *
 * @author admin
 */
@Mapper
public interface BaseDataQualityRuleConvert {

    BaseDataQualityRuleConvert INSTANCE = Mappers.getMapper(BaseDataQualityRuleConvert.class);

    BaseDataQualityRuleDO convert(BaseDataQualityRuleCreateReqVO bean);

    BaseDataQualityRuleDO convert(BaseDataQualityRuleUpdateReqVO bean);

    BaseDataQualityRuleRespVO convert(BaseDataQualityRuleDO bean);

    List<BaseDataQualityRuleRespVO> convertList(List<BaseDataQualityRuleDO> list);

    PageResult<BaseDataQualityRuleRespVO> convertPage(PageResult<BaseDataQualityRuleDO> page);

    List<BaseDataQualityRuleExcelVO> convertList02(List<BaseDataQualityRuleDO> list);

}
